class Version
  include Comparable
  #
  ##
  def initialize( version )
    validate_initialization( version )
    @version_literal = version
  end
  #
  ## raise an error in case input version literal is not valid
  def validate_initialization( version )
    raise unless version.match( /(^\d+(\.{1}\d+)*$)/ )
  end
  #
end